Skip to content

timeLimitExceeded associated value changed in a source-breaking way.#1636

Merged
grynspan merged 3 commits intomainfrom
jgrynspan/restore-time-limit-components
Mar 19, 2026
Merged

timeLimitExceeded associated value changed in a source-breaking way.#1636
grynspan merged 3 commits intomainfrom
jgrynspan/restore-time-limit-components

Conversation

@grynspan
Copy link
Contributor

@grynspan grynspan commented Mar 19, 2026

This PR restores the type of the associated value of Issue.Kind.timeLimitExceeded(). For source compatibility, this associated value must be a 2-tuple in perpetuity even though we can otherwise use Duration in our API surface.

When we get to the next major language mode, we can potentially introduce a source-breaking change here.

Caused by #1606.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

This PR restores the type of the associated value of `Issue.Kind.timeLimitExceeded()`.
For source compatibility, this associated value must be a 2-tuple in perpetuity
even though we can otherwise use `Duration` in our API surface.

When we get to the next major language mode, we can potentially introduce a
source-breaking change here.
@grynspan grynspan added this to the Swift 6.4.0 (main) milestone Mar 19, 2026
@grynspan grynspan self-assigned this Mar 19, 2026
@grynspan grynspan added the bug 🪲 Something isn't working label Mar 19, 2026
@grynspan grynspan added the issue-handling Related to Issue handling within the testing library label Mar 19, 2026
Copy link
Contributor

@harlanhaskins harlanhaskins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, that's unfortunate.

@grynspan grynspan merged commit 66c32ae into main Mar 19, 2026
27 checks passed
@grynspan grynspan deleted the jgrynspan/restore-time-limit-components branch March 19, 2026 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working issue-handling Related to Issue handling within the testing library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants